package lab01;

public class test11 {
    public static void main(String[] args) {
        int i,j=0;
        for (i=2;i<=100;i++){
            if ((i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0)||i==2|i==3|i==5|i==7){
                System.out.println("  "+i);
                j++;
                if(j%5==0){
                    System.out.println();
                }

            }
        }

    }
}
